﻿Imports System.IO
Imports Lucene.Net.Analysis

Namespace Components.Lucene.FieldManagement.Analysis
    Public Class SortingAnalyzer
        Inherits Analyzer

        Public Overrides Function TokenStream(fieldName As String, reader As TextReader) As TokenStream
           Return New ASCIIFoldingFilter(New LowerCaseFilter(New KeywordTokenizer(reader)))
        End Function
    End Class
End NameSpace